Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve get_from_path/1,2 #13

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Improve get_from_path/1,2 #13

merged 1 commit into from
Nov 23, 2023

Conversation

daskycodes
Copy link
Owner

As described in #10 this PR fixes a possibly leaking descriptior in the get_from_path/1,2 function.

Additionall this also fixes the issue #9, where it would return an error tuple instead of nil when calling an invalid file path.

Thanks to @smaximov

@daskycodes daskycodes merged commit a978223 into main Nov 23, 2023
1 check passed
@daskycodes daskycodes deleted the fix-leaking-descriptior branch November 23, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant